package com.gusto.engine.repository.dao;

import com.gusto.engine.beans.exceptions.ResCreationException;
import com.gusto.engine.beans.model.Res;

/**
 * <p>Defines a Generic DataAccess interface for the resources.
 * </p>
 * @author amokrane.belloui@gmail.com
 */
public interface RepositoryDAO {
	
	/**
	 * Get a resource from it's identifier
	 * @param resourceId identifier of the resource
	 * @return
	 * @throws ResCreationException
	 */
	public Res getResource(String resourceId) throws ResCreationException;
	
}
